package com.xbenmh.order.conditionalBean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;

/**
 * @Author: xben
 * @Date: 2018/12/3 13:22
 */
public class MagicBean {
    @Bean
    @Conditional(MagicExistCondition.class)
    public MagicBean magicBean(){
        return new MagicBean();
    }
}
